import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: "homePage",
        meta: {
            title: "首页/教程"
        },
        component: () => import('../views/home-page.vue')
    },
    {
        path:'/submitResume',
        name: 'submitResume',
        meta: {
            title: "简历投递"
        },
        component: () => import('../views/submit-resume.vue')
    },
    {
        path: '/deliveryLogs',
        name: 'deliveryLogs',
        meta:{
            title: '投递日志'
        },
        component:()=>import('../views/delivery-logs.vue')
    },
    {
        path: '/myParameter',
        name: 'myParameter',
        meta:{
            title: '我的参数管理'
        },
        component: () => import('../views/my-parameter.vue')
    },
    {
        path: '/encryptKey',
        name: 'encryptKey',
        meta:{
            title: '生成加密文件'
        },
        component: () => import('../views/encrypt-key.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
